/**
 * breadcrumb 面包导屑导航
 * @author Zeon scplay@gmail.com
 * @date
 * @copyright Created by Panxsoft.
 */
<style  lang="less" type="text/less" rel="stylesheet/less" scoped>
    .v-comp-breadcrumb{
        padding: 20px 20px 0 0;
        margin-bottom: 20px;
    }
</style>

<template>
<div class="v-comp-breadcrumb">
    <Breadcrumb>
        <Breadcrumb-item v-for="breadcrumb in breadcrumbList" :href="breadcrumb.href" :key="breadcrumb.name">{{ breadcrumb.name }}</Breadcrumb-item>
    </Breadcrumb>
</div>
</template>

<script>
export default {
    props: {
        breadcrumbList: {
            type: Array,
            'default'() {
                return [{
                    href: '#',
                    name: '无'
                }]
            }
        }
    },
}
</script>

